package com.example.lvsuo.Execl.cw;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
//写一个实体类, 属性和配置文件对应
@Configuration
@ConfigurationProperties(prefix = "cw" ,ignoreUnknownFields = false)
@PropertySource("classpath:cw/cw.properties")
@Data
@Component
@Primary
public class ModelApplication {
     private  String zhifu;
     private  String NATAPP;

}
